/* **
 * 导航栏 
 * **/

.u_menu_container{
    $color-text: #92908d;
    $color-bg: #2e2d2b;
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 100%;
    font-size: 16px;
    background-color: $color-bg;
    color: $color-text;
    overflow: hidden;
    .u_menus {
        margin-top: 20px;
        width: 100%;
        .u_menu {
            width: 100%;
            display: block;
            text-align: center;
            -webkit-transition: all linear 0.3s;
            transition: all linear 0.3s;
            > a {
                display: block;
                margin-top: 10px;
                padding: 5px;
                color: $color-text;
                font-weight: bold;
                width: 100%;
                &:hover {
                    color: #fff;
                }
            }
            &:hover > .u_submenus {
                left: 70px;
                visibility: visible;
            }
            &.u_menu_active {
                background-color: #000;
                > a {
                    color: #fff;
                }
            }
            i, span {
                display: block;
            }
            i {
                margin-bottom: 5px;
                font-size: 22px;
            }
            span {
                font-size: 14px;
            }
        }
    }
    .u_submenus {
        position: fixed;
        top: 0;
        left: 300px;
        width: 200px;
        height: 100%;
        padding: 20px 0px;
        background-color: #fff;
        color: #000;
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        z-index: 99999;
        text-align: left;
        -moz-transition: left 0.6s ease-in-out -0.5s;
        -o-transition: left 0.6s ease-in-out -0.5s;
        -webkit-transition: left 0.6s ease-in-out -0.5s;
        transition: left 0.6s ease-in-out -0.5s;
        visibility: hidden;
        .u_submenu {
            position: relative;
            background-color: none;
            a {
                display: block;
                padding: 10px 10px 10px 20px;
                &:hover {
                    background-color: #17c3e5;
                    color: #fff;
                }
            }
            i, span {
                display: inline-block;
                vertical-align: middle;
                font-size: 16px;
                margin-bottom: 0px;
            }
            i {
                width: 20px;
                margin-right: 10px;
                &:last-child {
                    float: right;
                    margin-right: 0px;
                    font-size: 22px;
                }
            }
            &:hover > .u_submenus {
                visibility: visible;
            }
            .u_submenus {
                position: absolute;
                left: 200px;
                height: auto;
                visibility: hidden;
            }
        }
    }
}